<template>
<div style="width: 200px">
  <el-menu router :default-active="this.$route.name" style="height: 100%;width: 200px" v-if="this.$store.state.user.id">
    <el-menu-item index="toolType">
      <i class="el-icon-menu"></i>
      <span slot="title">工具类别管理</span>
    </el-menu-item>
    <el-menu-item index="supply">
      <i class="el-icon-document"></i>
      <span slot="title">供应商管理</span>
    </el-menu-item>
    <el-menu-item index="tool">
      <i class="el-icon-setting"></i>
      <span slot="title">工具管理</span>
    </el-menu-item>
    <el-menu-item index="stat">
      <i class="el-icon-setting"></i>
      <span slot="title">统计分析</span>
    </el-menu-item>
  </el-menu>
</div>
</template>

<script>

export default {
  name: "Aside",
  data() {
    return {
      
    }
  }
}
</script>

<style scoped>
/* .el-menu-item{
  margin-left: 15px;
} */
</style>
